﻿using Domain.Base;
using DtoFw.Enum;
using SqlSugar;

namespace Domain.Entity
{
    ///<summary>
    ///菜单
    ///</summary>
    [SugarTable("system_menu")]
    [DB(EnumDatabase.Mysql, Cache = false)]
    public class MainMenuEntity: BaseEntity
    {

        [SugarColumn(ColumnName = "Name")]
        public System.String Name { get; set; }

        [SugarColumn(ColumnName = "Icon")]
        public System.String Icon { get; set; }

        [SugarColumn(ColumnName = "Description")]
        public System.String Description { get; set; }

        [SugarColumn(ColumnName = "Level")]
        public System.Int32? Level { get; set; }

        [SugarColumn(ColumnName = "ParentId")]
        public System.Int64 ParentId { get; set; }

        [SugarColumn(ColumnName = "StyleClass")]
        public System.String StyleClass { get; set; }

        [SugarColumn(ColumnName = "Url")]
        public System.String Url { get; set; }


        [SugarColumn(ColumnName = "Sort")]
        public System.Int32? Sort { get; set; }

        [SugarColumn(ColumnName = "SystemId")]
        public System.Int32? SystemId { get; set; }


        [SugarColumn(ColumnName = "No")]
        public System.String No { get; set; }

        [SugarColumn(ColumnName = "Title")]
        public System.String Title { get; set; }

        [SugarColumn(ColumnName = "Type")]
        public int Type { get; set; }

        [SugarColumn(ColumnName = "Component")]
        public string Component { get; set; }


        [SugarColumn(ColumnName = "IsLink")]
        public string IsLink { get; set; }

        [SugarColumn(ColumnName = "IsHide")]
        public bool IsHide { get; set; }

        [SugarColumn(ColumnName = "IsKeepAlive")]
        public bool IsKeepAlive { get; set; }

        [SugarColumn(ColumnName = "IsAffix")]
        public bool IsAffix { get; set; }

        [SugarColumn(ColumnName = "LinkPath")]
        public string LinkPath { get; set; }

        [SugarColumn(ColumnName = "Auth")]
        public string Auth { get; set; }
    }
}
